/**
 * @Author       : Mo 2427995270@qq.com
 * @Date         : 2025-04-18 20:37:48
 * @LastEditTime : 2025-06-09 23:34:52
 * @FilePath     : \PY32F071-DEMO\bsp\bsp.c
 * @Description  : 板级支持包
 * @Version      : V1.0
 * @History      : 
 * @Note         : 
 */
/***************************************Includes***********************************/
// clang-format off
#include "bsp.h"
#include "systick.h"
#include <string.h>

#if defined(GD32F407)
#include "gd32f4xx.h"
#elif defined(STM32F40_41xxx)
#include "stm32f4xx.h"
#elif defined(GD32F10X_HD)
#include "gd32f10x.h"
#elif defined(STM32F10X_HD)
#include "stm32f10x.h"
#elif defined(PY32F071xB)
#include "py32f0xx.h"
#else
#error "No device selected"
#endif

#include "FreeRTOS.h"
#include "task.h"


/************************************Private Macros********************************/
//#define


/**********************************Private Statement*******************************/


/***********************************Public Variables*******************************/

sys_board_t sys_board = {
};

sys_param_t sys_param;

sys_param_t sys_param_def = {
    .version = SYS_PARAM_VERSION,   // 参数版本
    .device_number = "0001",        // 设备编号
    .ble_mac = "001122334455", // 蓝牙MAC地址
    .usr_password = "2020",
    .root_password = "12062023",
};

/**********************************Private Variables*******************************/



/**********************************Public Functions********************************/


void bsp_gpio_init(void) {
}

void bsp_i2c_bus_init(void) {
}

void bsp_i2c_dev_init(void) {
}

void bsp_pwm_init(void) {
}

void bsp_exti_init(void) {
}

void bsp_adc_init(void) {
}

void bsp_uart_init(void) {
}



/**********************************Private Functions*******************************/


/* [] END OF FILE */
